
	<?php
	/* display message saved in session if any */
	echo $this->Session->flash();
	?>
		<?php echo $this->Session->flash('auth'); ?>
		<?php echo $this->Form->create('User', array('role' => 'form', 'class' => 'form-horizontal')); ?>
		
		<h1 class="col-sm-offset-2"> Login: </h1>
		
		<div class="form-group">
		<?php 
			echo $this->Form->label('username', 'Benutzername', 'col-sm-2 control-label');
			echo $this->Form->input('username',array(
				'class' => 'form-control',
				'label' => false,
				'div' => 'input text required col-sm-3'
			));
		?>
		</div>
		<div class="form-group">
		<?PHP
			echo $this->Form->label('password', 'Passwort', 'col-sm-2 control-label');
			echo $this->Form->input('password',array(
				'class' => 'form-control',
				'label' => false,
				'div' => 'input text required col-sm-3'
			));
		?>
		</div>
		<div class="col-sm-offset-2">
		<?php echo $this->Form->end(__('Login')); ?>
		</div>